import adminLayout from '@/layout/admin/index';
import commonLayout from '@/layout/admin/common';
export default [{
	path: '/member',
	name: 'Member',
	redirect: '/member/index',
	meta: {
		title: '用户首页'
	},
	component: adminLayout,
	children: [{
		path: 'project',
		name: 'MemberProject',
		redirect: 'project/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'MemberProjectList',
			meta: {
				title: '课题申请列表'
			},
			component: () => import('@/views/member/project/index')
		}, {
			path: 'form',
			name: 'MemberProjectForm',
			meta: {
				title: '课题申请'
			},
			component: () => import('@/views/member/project/form')
		}, {
			path: 'detail',
			name: 'MemberProjectDetail',
			meta: {},
			component: () => import('@/views/member/project/detail')
		}]
	}, {
		path: 'experiment',
		name: 'MemberExperiment',
		redirect: 'experiment/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'MemberExperimentList',
			meta: {
				title: '实验申请列表'
			},
			component: () => import('@/views/member/experiment/index')
		}, {
			path: 'form',
			name: 'MemberExperimentForm',
			meta: {
				title: '实验申请'
			},
			component: () => import('@/views/member/experiment/form')
		}, {
			path: 'detail',
			name: 'MemberExperimentDetail',
			meta: {},
			component: () => import('@/views/member/experiment/detail')
		}]
	}, {
		path: 'feedback',
		name: 'MemberFeedback',
		redirect: 'feedback/list',
		meta: {
			title: '实验反馈'
		},
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'MemberFeedbackList',
			meta: {
				title: '实验列表'
			},
			component: () => import('@/views/member/feedback/index')
		}, {
			path: 'detail',
			name: 'MemberFeedbackDetail',
			meta: {},
			component: () => import('@/views/member/feedback/detail')
		}]
	}, {
		path: 'achievement',
		name: 'MemberAchievement',
		redirect: 'achievement/list',
		component: commonLayout,
		children: [{
			path: 'list',
			name: 'MemberAchievementList',
			meta: {
				title: '成果列表'
			},
			component: () => import('@/views/member/achievement/index')
		}, {
			path: 'form',
			name: 'MemberAchievementForm',
			meta: {
				title: '成果添加'
			},
			component: () => import('@/views/member/achievement/form')
		}, {
			path: 'edit',
			name: 'MemberAchievementEdit',
			meta: {
				title: '成果修改'
			},
			component: () => import('@/views/member/achievement/edit')
		}, {
			path: 'detail',
			name: 'MemberAchievementDetail',
			meta: {},
			component: () => import('@/views/member/achievement/detail')
		}]
	}]
}]